class TestClass {
    {
        new MyObject(){<caret>;
    }
}